PKG_NAME:=bind
PKG_VERSION:=9.20.11
-PKG_RELEASE:=1
+PKG_RELEASE:=2
USERID:=bind=57:bind=57
PKG_MAINTAINER:=Noah Meyerhans <frodo@morgul.net>
https://ftp.isc.org/isc/bind9/$(PKG_VERSION)
PKG_HASH:=4da2d532e668bc21e883f6e6d9d3d81794d9ec60b181530385649a56f46ee17a
-PKG_FIXUP:=autoreconf
-PKG_REMOVE_FILES:=aclocal.m4 libtool.m4
-
PKG_INSTALL:=1
PKG_BUILD_FLAGS:=no-mips16
PKG_BUILD_PARALLEL:=1
TITLE+= administration tools (ddns-confgen and tsig-keygen only)
endef
-export BUILD_CC="$(TARGET_CC)"
-
-TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
+TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed \
+ -Wl,-rpath-link,$(PKG_BUILD_DIR)/lib/ns/.libs
CONFIGURE_ARGS += \
--disable-geoip \
--without-gssapi
endif
-CONFIGURE_VARS += \
- BUILD_CC="$(TARGET_CC)" \
-
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/lib/dns \
- BUILD_CC="$(HOSTCC)" \
- CC="$(HOSTCC)" \
- CFLAGS="-O2" \
- LIBS="" \
- gen
- $(call Build/Compile/Default)
-endef
-
define Package/bind-libs/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib